persist

abstract fun persist()

Persists all the changes performed to the cookie store.

By default, all the changes to the cookie store are made in memory, so when you restart the application you will not see the changes you made with persistent cookies if you do not invoke this method before application exit.

This method can be invoked after every change you made to the cookie store.

Throws

when the profile is deleted or its engine is closed